import React from 'react'
import  {useParams} from "react-router-dom"

export default function Detail() {
    let params  = useParams();
    console.log(params);

  return (
    <div>Detail页面的参数为{params.id}</div>
  )
}
